Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Git via SSH: Replace Jsch transport with Apache #948

Closed
wants to merge 1 commit into from
Closed

Git via SSH: Replace Jsch transport with Apache #948

wants to merge 1 commit into from

Conversation

amberin
Copy link
Contributor

@amberin amberin commented Jul 19, 2022

Apache MINA SSHD is now the standard SSH transport library for JGit. It supports more modern key algorithms than Jsch. This is my implementation attempt. It uses a .ssh directory in the app's private storage for storing "known hosts" information.

I hope to look into generating the SSH private key on the device shortly.

I have added a notification prompt to the user upon new or changed SSH server host key. I am probably doing this completely wrong, but it seems to work.

N.B. Currently requires API >= 26, but I suspect that would be easy to fix for someone who actually knows Java and Android.

@amberin
Copy link
Contributor Author

amberin commented Jul 19, 2022

Intended to solve #904

@amberin
Copy link
Contributor Author

amberin commented Aug 31, 2022

Rebased on current master.

N.B. Requires API >= 26.

Apache MINA SSHD is now the standard SSH transport library for JGit. It
supports more modern key algorithms than Jsch.

I have added a notification prompt to the user upon new or unexpected SSH
server host key. I have no idea what I'm doing, but it seems to work.
@amberin
Copy link
Contributor Author

amberin commented Mar 19, 2023

Closing this in favor of #1037.

@amberin amberin closed this Mar 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant